import React from 'react';
import Button from './components/button/Button';
import './App.css';

function App() {
  return (
    <div className="App">
      {/* 色彩 */}
      {/* <Button btnType="primary"></Button>
      <Button btnType="default"></Button>
      <Button btnType="danger"></Button>
      <Button btnType="link"></Button> */}
      {/* 大小 */}
      {/* <Button btnType="primary" btnSize="lg"></Button>
      <Button btnType="primary"></Button>
      <Button btnType="primary" btnSize="sm"></Button> */}
      {/* 是否禁用 */}
      <Button onClick = {() => {
        console.log(123)
      }} btnType="primary" disabled={true} btnSize="lg">
        <span>AAAA</span>
      </Button>
      <Button btnType="primary" disabled={false} btnSize="lg">
        BBBBB
      </Button>
    </div>
  );
}

export default App;
